package org.naigu.peach.dal.dao;

import org.naigu.peach.dal.dataobject.SubjectDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface SubjectDAO {


    Long insert(SubjectDO subject);


    SubjectDO getSubjectById(Long subjectId);


    boolean delSubjectById(Long subjectId);

    List<SubjectDO> getSubjectByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long subjectId);

    List<SubjectDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(SubjectDO subject);

}
